import { herinRequist } from "../http.js";
// 园区热点
const Health = {
	getChartList(type) {
		return herinRequist({ url: '/app/health-chart', method: 'GET' , data: { type }});
	},
	getTypeList(data) {
		return herinRequist({ url: '/app/health-list', method: 'GET', data });
	},
	getOldDate() {
		return herinRequist({ url: '/app/health-time', method: 'GET'});
	},
	getFrequency() {
		return herinRequist({ url: '/app/health-frequency', method: 'GET'});
	},
	postFrequency(data) {
		return herinRequist({ url: '/app/health-frequency', method: 'POST', data ,contentType:'application/json'});
	}
}

export default Health;